<template>
  <div class="section section-cover text-c">
    <img :src="require('../../../assets/img/yearReport/2020/unit/'+(new Date(reportData.startDate).getFullYear()||'emicon')+'.png')" class="img-year" />
    <img src="../../../assets/img/yearReport/2020/unit/title.png" class="img-title" />
    <img src="../../../assets/img/yearReport/2020/unit/footer.png" class="img-footer" />
    <img class="startPageBtn" src="/ilink-app-h5-zd/static/img/ilink_1577974443427.png" @click="handleStart()" />
  </div>
</template>

<script>
export default {
  props: {
    reportData: {
      type: Object,
      default: function () {
        return {
          joinTime: {},
        }
      },
    },
  },
  data() {
    return {}
  },
  methods: {
    handleStart() {
      this.$emit('start')
    },
  },
}
</script>

<style lang="scss">
.section-cover {
  .img-year {
    width: 55vw;
    height: 27.5vw;
    margin: 10% auto 0;
  }
  .img-title {
    width: 66%;
  }
  .img-footer {
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
  }
}
</style>